{%- set default_cable = '5m' %}

{%- include 'buffer_ports.j2' %}

{%- macro generate_buffer_pool_and_profiles() %}
    "BUFFER_POOL": {
        "ingress_lossless_pool": {
            "size": "121964196",
            "type": "ingress",
            "mode": "dynamic",
            "xoff": "29520896"
        },
        "egress_lossless_pool": {
            "size": "121964196",
            "type": "egress",
            "mode": "static"
        }
    },
    "BUFFER_PROFILE": {
        "ingress_lossy_profile": {
            "pool": "ingress_lossless_pool",
            "size": "0",
            "static_th": "167546528"
        },
        "egress_lossy_profile": {
            "pool": "egress_lossless_pool",
            "size": "1778",
            "dynamic_th": "1"
        },
        "egress_lossless_profile": {
            "pool": "egress_lossless_pool",
            "size": "0",
            "static_th": "125995684"
        }
    },
{%- endmacro %}
